projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fac30e
)
* src/undo.c: Small fixes for previous change
author
Juanma Barranquero
<lekktu@gmail.com>
Fri, 13 Nov 2015 09:56:28 +0000
(10:56 +0100)
committer
Juanma Barranquero
<lekktu@gmail.com>
Fri, 13 Nov 2015 09:59:23 +0000
(10:59 +0100)
(run_undoable_change): Mark void argument list.
(record_property_change): Remove unused variable `boundary'.
src/undo.c
patch
|
blob
|
history
diff --git
a/src/undo.c
b/src/undo.c
index 009ebc0f959b5767f675c45d879794c1150ad5f5..0a5da853dc00b9a3a421cf265d1e4b825ecf268e 100644
(file)
--- a/
src/undo.c
+++ b/
src/undo.c
@@
-35,7
+35,7
@@
static ptrdiff_t last_boundary_position;
static Lisp_Object pending_boundary;
void
-run_undoable_change ()
+run_undoable_change (
void
)
{
call0 (Qundo_auto__undoable_change);
}
@@
-235,7
+235,6
@@
record_property_change (ptrdiff_t beg, ptrdiff_t length,
{
Lisp_Object lbeg, lend, entry;
struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer);
- bool boundary = false;
if (EQ (BVAR (buf, undo_list), Qt))
return;